<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="ajax" uri="javawebparts/ajaxparts/taglib"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
	<head>
			<script type="text/javascript">
				jQuery(function($) {
					$("#vtrColorPicker").attachColorPicker();
					$("#vtrColorPicker2").attachColorPicker();
				});
			</script>

			<script type="text/javascript" language="JavaScript">


				tinyMCE.init({
					// General options
					mode : "exact",
                   	elements : "items.description",
					theme : "advanced"
				});

				function toogleEditorMode(sEditorID) {
					var tinyMCEmode = eval(document.getElementById('tinyMCEmode').value);
				    try {
				        if(tinyMCEmode) {
				            tinyMCE.removeMCEControl(tinyMCE.getEditorId(sEditorID));
				            document.getElementById('tinyMCEmode').value = 'false';
				            document.getElementById('editorMsg').innerHTML = 'Switch to visual html editor';
				        } else {
				        	document.getElementById('tinyMCEmode').value = 'true';
				            tinyMCE.addMCEControl(document.getElementById('items.description'), sEditorID);
				            document.getElementById('editorMsg').innerHTML = 'Switch to normal text editor';
				        }
				    } catch(e) {
				        //error handling
				    }
				}
		</script>
	</head>
	<body>
		<input type="hidden" id="tinyMCEmode" name="tinyMCEmode" value="true">

		<s:form action="sellAddAuctions.htm" theme="simple" method="post"
			enctype="multipart/form-data">

			<s:hidden name="items.itemId" value="%{items.itemId}" />
			<s:hidden name="action" value="%{action}" />
		<table>
			<tr>
				<td valign="top" width="100%">


					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>
								<div class="blue-text16" style="margin: 0px 0px 0px 0px">
									<s:text name="addSellAuctionItem.title" />
								</div>
								<div class="header-separator-bg"
									style="margin: 10px 5px 17px 0px"></div>
								<div style="margin: 0px 0px 12px 0px">
									<table border="0" cellpadding="0" cellspacing="0" width="100%">
										<tbody>
											<tr>
												<td>
													<s:fielderror cssClass="error-text" />
													<s:actionerror cssClass="error-text" />
												</td>
											</tr>
											<tr>
												<td>
													<!--Error-->
													<table cellpadding="0" cellspacing="0" width="100%">
														<tbody>
															<tr>
																<td class="common-bold-text" width="15%" align="right" valign="top">
																	<s:text name="addSellAuctionItem.category" />
																</td>
																<td valign="top" class="error-text">
																	<div id="parentDiv">
																	<s:if test="categories != null">
																		<s:iterator value="categories" var="categories" status="status">
																			<s:property value="%{backCategories[#status.index]}" /><s:hidden name="categoryId" value="%{categories[#status.index]}" /><img src="<%= request.getContextPath() %>/images/close.jpg" onclick="removeElement('tmpDiv<s:property value="%{categories[#status.index]}" />')" /><br />
																		</s:iterator>
																	</s:if>
																	<s:elseif test="%{editCategories != null}">
																		<s:iterator value="editCategories" var="editCategories" status="status">
																			<s:property value="%{editbackCategories[#status.index]}" /><s:hidden name="categoryId" value="%{editCategories[#status.index]}" /><img src="<%= request.getContextPath() %>/images/close.jpg" onclick="removeElement('tmpDiv<s:property value="%{editCategories[#status.index]}" />')" /><br />
																		</s:iterator>
																	</s:elseif>
																	<s:else>
																		<s:text name="addSellAuctionItem.category.msg" />
																	</s:else>
																	</div>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">																</td>
																<td valign="top">
																	<table width="100%" cellpadding="2" cellspacing="0" class="common-text">
																		<tbody>
																			<tr>

																				<td valign="top" width="250">
																					<table border="0" cellspacing="0" cellpadding="0">
																                  	<tr>
																                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
																                      	<td class="btn-grey-middle1 "><input type="button" onclick="PPPCC=window.open('<%= basePath + "ajax/showDynamicTreeAction.htm" %>','CurrencyConverter','width=600,height=400,scrollbars=1,resizable=0');PPPCC.focus()" name="Select Category" value="Select Category" class="submit-btn-common" /></td>
																                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
																                    </tr>
																                  </table>
																				</td>
																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top">
																				<s:if test="#attr.categoryFees[0].auction == 2">
																					<s:text name="addSellAuctionItem.category.para2">
																						<s:param name="value" value="#attr.categoryFees[1].auction" />
																						<s:param name="value" value="#attr.categoryFees[0].auction" />
																					</s:text>
																				</s:if>
																				<s:elseif test="#attr.categoryFees[0].auction == 3">
																					<s:text name="addSellAuctionItem.category.para3">
																						<s:param name="value" value="#attr.categoryFees[1].auction" />
																						<s:param name="value" value="#attr.categoryFees[2].auction" />
																						<s:param name="value" value="#attr.categoryFees[0].auction" />
																					</s:text>
																				</s:elseif>
																				<s:else>
																					<s:text name="addSellAuctionItem.category.para">
																						<s:param name="value" value="#attr.categoryFees[1].auction" />
																						<s:param name="value" value="#attr.categoryFees[2].auction" />
																						<s:param name="value" value="#attr.categoryFees[3].auction" />
																						<s:param name="value" value="#attr.categoryFees[0].auction" />
																					</s:text>
																				</s:else>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>

															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.title" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:textfield cssClass="textfield" maxlength="#attr.listingOptions.maximumTitleSizeInBytes" name="items.title" theme="simple" />
																				</td>
																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.title.para">
																						<s:param name="value" value="#attr.listingOptions.maximumTitleSizeInBytes" />
																					</s:text>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.subtitle" />
																</td>
																<td valign="top">
																	<table>
																		<tbody>
																			<tr>
																				<td width="274" valign="top">
																					<s:textfield cssClass="textfield" maxlength="#attr.listingOptions.shortTitleSize" name="items.subTitle" theme="simple" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[5].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[5].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.subtitle.para"><s:param name="value" value="#attr.listingOptions.shortTitleSize" /></s:text>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.bold" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.bold" theme="simple" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[6].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[6].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.bold.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	 <s:text name="addSellAuctionItem.menu.titlecolor" />
																	</td>
																<td valign="top">
																	<div id="colorPickerDiv"
																		style="position: absolute; visibility: hidden;">

																	</div>

																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<table border="0" cellpadding="0" cellspacing="0"
																						width="250">
																						<tbody>
																							<tr>
																								<td>
																									<s:textfield cssClass="textfield" id="vtrColorPicker"
																										readonly="true" name="items.colored" size="7" value="%{items.colored}" />
																								</td>
																							</tr>
																							<tr>
																								<td>
																								</td>
																							</tr>
																						</tbody>
																					</table>
																				</td>
																				<td valign="top" class="common-text">
																				<s:if test="#attr.optionsFees[7].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[7].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.titlecolor.para" />																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.backgroundcolor" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:set var="tmpBgColor" value="''" />
																				<s:if test="items.bgColor != null">
																					<s:set var="tmpBgColor" value="items.bgColor" />
																				</s:if>

																					<select name="items.bgColor" size="1" class="textfield">
																					<option value=""></option>
																					<s:set var="tmpbgColors" value="#attr.listingOptions.posibleItemBacgroundColors" />
																					<% String[] bgColors = pageContext.getAttribute("tmpbgColors").toString().split("\\|"); %>
																				    <% for(String bgColor : bgColors) { %>
																				    <s:property value="%{items.bgColor}" />  <s:property value="%{#attr.bgColor}" />
																				      	<option value="<%= bgColor %>" <%= pageContext.getAttribute("tmpBgColor").toString().equals(bgColor) ? "selected" : "" %> style="background-color: <%= bgColor %>;"><%= bgColor %></option>
																				    <% } %>
																					</select>
																				</td>

																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[8].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[8].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.backgroundcolor.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.description" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">

																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<a href="#"
																						onclick="toogleEditorMode('items.description')"><div id="editorMsg">Switch to normal text editor</div></a>
																				</td>
																				<td></td>
																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.description.para">
																						<s:param name="value" value="#attr.listingOptions.maximumDescriptionSizeInBytes"></s:param>
																					</s:text>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>

															<tr>
																<td class="common-bold-text" align="right" valign="top">																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0" width="100%">

																		<!--EditData-->
																		<!--CopyData-->
																		<tbody>
																			<tr>
																				<td valign="top">
																					<textarea id="items.description" name="items.description" rows="12" cols="120" class="textfield" ><s:property value="%{items.description}" /></textarea>
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>

															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.companyprofile" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.companyProfile"
																						theme="simple" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[22].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[22].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.companyprofile.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>

																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.homepage" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textfield cssClass="textfield" name="items.homePage" theme="simple" />																			  </td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[16].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[16].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.homepage.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.itemlanguage" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:select list="languageList" cssClass="textfield" value="%{defaultLanguage}"
																						name="items.itemLanguage.languageCode" listKey="languageCode"
																						listValue="%{getText('lang_' + languageCode)}" theme="simple" />
																				</td>

																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.itemlanguage.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.itemlocation" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="278">
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.region" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:select theme="simple" cssClass="textfield"
																						headerValue="Select Region" headerKey="0"
																						name="items.locationCategoriesByRegion.categoryId"
																						value="%{defaultRegion}" id="region"
																						list="regionList" listKey="categoryId" listValue="categoryName"></s:select>
																					<ajax:event ajaxRef="CommonForm/showCountryChange" />
																				</td>

																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top"></td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.country" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:select cssClass="textfield" theme="simple"
																						headerValue="Select Country" headerKey="0" value="%{defaultCountry}" id="country"
																							list="countryList" listKey="categoryId" listValue="categoryName"
																								name="items.locationCategoriesByCountry.categoryId" id="country" />
																					<ajax:event ajaxRef="CommonForm/showStateChange" />
																				</td>

																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.state" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:select theme="simple" cssClass="textfield" headerKey="0" id="state"
																							headerValue="Select State" value="%{items.locationCategoriesByState.categoryId}"
																								list="stateList" listKey="categoryId" listValue="categoryName"  name="items.locationCategoriesByState.categoryId"/>
																				</td>
																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.zipcity" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<table border="0" cellpadding="0" cellspacing="0"
																						width="250">
																						<tbody>
																							<tr>
																								<td width="60">
																									<s:textfield cssClass="textfield" name="items.shipZip" size="20"
																										theme="simple" />
																								</td>

																								<td width="4"></td>
																								<td width="186" nowrap="nowrap">
																									<s:textfield cssClass="textfield" name="items.city" size="20"
																										theme="simple" />
																								</td>
																							</tr>
																						</tbody>
																					</table>
																				</td>
																				<td valign="top" width="20">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top"></td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
														<s:if test="#attr.listingOptions.allowUserToUploadFiles == 'true'">
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<a name="File"></a><s:text name="addSellAuctionItem.menu.uploadfile" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" class="common-text">
																					<b><s:text name="addSellAuctionItem.menu.uploadfile.notes" /></b>
																					<ul>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.note1" />
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.note2">
																								<s:param name="value" value="#attr.listingOptions.numberOfFilesAllowedToUpload"></s:param>
																							</s:text>
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.note3">
																								<s:param name="value" value="#attr.listingOptions.maximumUploadFileSize"></s:param>
																							</s:text>
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.note4">
																								<s:param name="value" value="#attr.listingOptions.maximumUploadTotalFilesSize"></s:param>
																							</s:text>
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.note5">
																								<s:param name="value" value="#attr.listingOptions.filesExtensionsAllowed"></s:param>
																							</s:text>
																						</li>
																					</ul>

																					<b><s:text name="addSellAuctionItem.menu.uploadfile" /></b>
																					<ol>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.step1" />
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.step2" />
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.step3" />
																						</li>
																						<li>
																							<s:text name="addSellAuctionItem.menu.uploadfile.step4" />
																						</li>
																					</ol>
																			  </td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>

															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<b>File:</b>																</td>
																<td valign="top">
																	<table border="0" cellpadding="0" cellspacing="0">
																		<tbody>
																			<tr>
																				<td width="4"></td>
																				<td>
																					<input type="file" name="upload" class="multi" maxlength="5"/>
																					<s:submit action="uploadFile" value="Upload file" />
																					<!--<div style="margin: 0px 0px 7px 2px" id="divinputfile">
																						<s:file name="file" id="upload" cssStyle="cursor: pointer"
																							size="35" theme="simple" cssClass="filepc" />

																						<div id="fakeinputfile">
																							<input name="fakefilepc" type="text" id="fakefilepc" />
																						</div>
																					</div> -->
																				</td>
																			</tr>
																			<tr>
																				<td width="4"></td>
																				<td>

																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>

																<td class="common-bold-text" align="right" valign="top">																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" class="common-text">
																					<b><font color="red"><s:text name="addSellAuctionItem.menu.manageuploadfile" /></font> </b>
																					<br>
																					<table border="0" cellpadding="2" cellspacing="1"
																						width="100%">
																						<tbody>
																							<tr>
																								<!--<td width="40%"  align="center">File</td>-->

																								<td align="center" class="grid-header-bg grid-header-text">
																									<s:text name="addSellAuctionItem.menu.manageuploadfile.size" />
																								</td>
																								<td align="center" class="grid-header-bg grid-header-text">
																									<s:text name="addSellAuctionItem.menu.manageuploadfile.auction" />
																								</td>
																								<td align="center" class="grid-header-bg grid-header-text">
																									<s:text name="addSellAuctionItem.menu.manageuploadfile.thumbnail" />
																								</td>
																								<td align="center" class="grid-header-bg grid-header-text">
																									<s:text name="addSellAuctionItem.menu.manageuploadfile.gallerie" />
																								</td>
																								<td align="center" class="grid-header-bg grid-header-text">
																									<s:text name="addSellAuctionItem.menu.manageuploadfile.preview" />
																								</td>
																							</tr>
																						<s:set var="total" value="0" />
																						<s:iterator value="uploadedFiles" status="raw">
																							<s:set var="total" value="%{#total + size}" />
																							<tr>
																								<td align="center" class="grid-bg grid-header-text">
																									<s:property value="size" />
																								</td>
																								<td align="center" class="grid-bg grid-header-text">
																									<a href="uploadFile.htm?deleteAction=<s:property value="#raw.index" />">Delete</a>
																								</td>
																								<td align="center" class="grid-bg grid-header-text">
																									<input type="radio" name="thumbnailId" value="<s:property value="#raw.index" />" />
																								</td>
																								<td align="center" class="grid-bg grid-header-text">
																									<input type="radio" name="gallaryId" value="<s:property value="#raw.index" />" />
																								</td>
																								<td align="center" class="grid-bg grid-header-text">
																									<s:if test="contentType == 'application/msword'">
																										<img src="images/doc.jpeg" height="20" width="20" />
																									</s:if>
																									<s:elseif test="contentType == 'text/plain'">
																										<img src="images/txt.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:elseif test="contentType == 'application/pdf'">
																										<img src="images/pdf.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:elseif test="contentType == 'audio/x-wav'">
																										<img src="images/wav.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:elseif test="contentType == 'audio/midi'">
																										<img src="images/mid.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:elseif test="contentType == 'video/quicktime'">
																										<img src="images/mov.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:elseif test="contentType == 'video/msvideo'">
																										<img src="images/avi.jpeg" height="20" width="20" />
																									</s:elseif>
																									<s:else>
																										<img src="servlet/ImageServlet?dto=path&id=1&name=<s:property value="name" />" height="20" width="20" />
																									</s:else>
																								</td>
																							</tr>
																						</s:iterator>
																						</tbody>
																				  </table>
																				  <s:if test="uploadedFiles != null">
																					<s:text name="addSellAuctionItem.menu.manageuploadfile.stats">
																						<s:param name="value" value="uploadedFiles.size" />
																						<s:param name="value" value="%{#total / 1024}" />
																						<s:param name="value" value="%{fileFees}" />
																					</s:text>
																					</s:if>
																					<s:else>
																						<s:text name="addSellAuctionItem.menu.manageuploadfile.stats">
																							<s:param name="value" value="0" />
																							<s:param name="value" value="0" />
																							<s:param name="value" value="0" />
																						</s:text>
																					</s:else>
																			  </td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
														<s:if test="uploadedFiles != null && uploadedFiles.size > 0">
															<tr>
											                  	<td class="form_lable" valign="top" align="right"> </td>
											                  	<td valign="top" class="common-text"><table cellpadding="4" cellspacing="0">
											                    	<tbody><tr>
												                      <td valign="top" width="250"><table border="0" width="100%" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top" width="50%"><input class="rb" name="items.mediaShow" value="4" type="radio"><s:text name="media_type_4" /></td><td valign="top" width="50%"><input class="rb" name="items.mediaShow" value="2" type="radio"><s:text name="media_type_3" /></td></tr></tbody></table></td>
												                      <td valign="top" width="20"> </td>

												                      <td valign="top"><s:if test="#attr.optionsFees[15].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[15].auction" /></font></s:if> <s:text name="media_type_3" /></td>


											                    	</tr>
											                    	<tr>
											                      		<td valign="top"><s:text name="media_show_type_label" /></td>
											                      		<td colspan="2" valign="top"> </td>
											                    	</tr></tbody>
											                    </table></td>
											                </tr>
											                <tr>
											                  	<td class="common-text" valign="top" align="right"><b><s:text name="gallery_lable" /></b></td>
											                  	<td valign="top"><table cellpadding="4" cellspacing="0">
											                    	<tbody><tr><td valign="top" width="278"><input class="cb" name="items.gallery" value="1" type="checkbox"></td><td valign="top" class="common-text"><s:if test="#attr.optionsFees[2].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[2].auction" /></font></s:if> <s:text name="gallery_desc_edit" /></td></tr>
											                  		</tbody></table></td>
											                </tr>
											                <tr>
											                  	<td class="common-text" valign="top" align="right"><b><s:text name="Gallery_featured_label" /></b></td>
											                  	<td valign="top"><table cellpadding="4" cellspacing="0">
											                    <tbody><tr><td valign="top" width="278"><input class="cb" name="items.galleryFeatured" value="1" type="checkbox"></td><td valign="top" class="common-text"><s:if test="#attr.optionsFees[3].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[3].auction" /></font></s:if> <s:text name="gallery_featured_desc" /></td></tr>
											                  	</tbody></table></td>
											                </tr>
											                <tr>
											                  	<td class="common-text" valign="top" align="right"><b><s:text name="Gallery_plus_label" /></b></td>
											                  	<td valign="top"><table cellpadding="4" cellspacing="0">
											                    <tbody><tr><td valign="top" width="278"><input class="cb" name="items.galleryPlus" value="1" type="checkbox"></td><td valign="top" class="common-text"><s:if test="#attr.optionsFees[4].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[4].auction" /></font></s:if> <s:text name="gallery_plus_desc" /></td></tr>
											                  	</tbody></table></td>
											                </tr>
														</s:if>
														</s:if>
															<!--Files_Features-->
															<tr>
																<td align="right" valign="top" class="common-bold-text">
																	<s:text name="addSellAuctionItem.menu.quantity" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>

																				<td valign="top" width="250">
																					<s:textfield cssClass="textfield" name="items.quantity" theme="simple" />
																				</td>
																				<td valign="top" width="24">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.quantity.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>

																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.duration" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																				<s:set var="tmpDuration" value="''" />
																				<s:if test="items.duration != null">
																					<s:set var="tmpDuration" value="items.duration" />
																				</s:if>
																					<select size="1" name="items.duration" class="textfield">
																					<s:set var="durations" value="#attr.listingOptions.auctionDurationPeriodsAllowed" />
																					<% String[] durationList = pageContext.getAttribute("durations").toString().split(","); %>
																					<% for(int index = 0; index < durationList.length; index++) { %>
																						<option value="<%= Integer.parseInt(durationList[index].trim()) %>" <%= pageContext.getAttribute("tmpDuration").toString().equals(durationList[index]) ? "selected" : "" %>>
																							<%= durationList[index].trim() %> <%= (Integer.parseInt(durationList[index].trim()) > 1) ? "Days" : "Day" %>
																						</option>
																					<% } %>
																				  </select>
																				</td>

																				<td valign="top" width="24">
																					<font color="green" size="2"> *</font>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.duration.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.autoresubmit" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:set var="tmpResubmit" value="''" />
																					<s:if test="items.resubmit != null">
																						<s:set var="tmpResubmit" value="items.resubmit" />
																					</s:if>
																					<s:set var="times" value="#attr.listingOptions.maximumAutoResubmitNumber" />
																					<select size="1" name="items.resubmit" class="textfield">
																					<% for(int index = 0; index <= Integer.parseInt(pageContext.getAttribute("times").toString()); index++) { %>
																						<option value="<%= index %>" <%= pageContext.getAttribute("tmpResubmit").toString().equals(index) ? "selected" : "" %>>
																							<%= index %> <%= (index > 1) ? "Times" : "Time" %>
																						</option>
																					<% } %>
																				  </select>
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.autoresubmit.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.currency" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="278">
																					<s:select name="items.currency.id" cssClass="textfield" list="currency" listKey="id" listValue="currency" value="%{items.currency.id}" />
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>

															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.startingbid" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="250">
																					<s:textfield cssClass="textfield" name="items.startBid" theme="simple" />
																				</td>
																				<td valign="top" width="24">
																					<font color="green" size="2"> *</font>																				</td>

																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.startingbid.para" />
																					<a href="help/listingfee.htm">Fees</a>
																			  	</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.reserveprice" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textfield cssClass="textfield" name="items.reserve" theme="simple" />																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.reserveprice.para" />
																					<a href="help/listingfee.htm">Fees</a>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.buyitnow" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textfield cssClass="textfield" name="items.buyPrice" theme="simple" />
																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.buyitnow.para" />
																					<a href="help/listingfee.htm">Fees</a>
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.privateauction" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.privateAuction"
																						theme="simple" />
																			  </td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[20].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[20].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.privateauction.para" />																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>

															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.homepagefeatured" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.homePageFeatured"
																						theme="simple" />
																			  	</td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[0].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[0].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.homepagefeatured.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.categoryfeatured" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.categoryFeatured"
																						theme="simple" />
																			  </td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[1].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[1].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.categoryfeatured.para" />																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.framed" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:checkbox name="items.framed" theme="simple" />																			  </td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[21].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[21].auction" /></font></s:if> <s:text name="addSellAuctionItem.menu.framed.para" />																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.specialicon" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<table border="0" cellpadding="0" cellspacing="0"
																						width="250">
																						<tbody>
																							<tr>
																								<td style="border: 1px solid black;"
																									bgcolor="#ffffff" valign="bottom" width="22">
																									<ilayer id="GiftShow" width="22" height="22">
																									<layer id="GiftShow1" width="22" height="22">
																									<div id="GiftShow2">
																									</div>
																									</layer>
																									</ilayer>
																								</td>
																								<td width="228">
																									<select size="1" name="items.giftIcon" onchange="ShowImage(this.options[this.selectedIndex].value)"
																										class="textfield" style="width: 228px;">
																										<option value=";Not Selected">
																											Not Selected
																										</option>
																										<option value="Icon_Gift.gif;Gift">
																											Gift
																										</option>
																										<option
																											value="Icon_MoneyBack.gif;Money Back Guarantee">
																											Money Back Guarantee
																										</option>
																										<option value="Icon_MustGo.gif;Must Go">
																											Must Go
																										</option>
																										<option value="Icon_New.gif;New">
																											New
																										</option>
																										<option value="Icon_Refurb.gif;Refurbished">
																											Refurbished
																										</option>
																										<option value="Icon_Rare.gif;Very Rare">
																											Very Rare
																										</option>
																								  </select>
																								</td>

																							</tr>
																						</tbody>
																					</table>
																			  </td>
																				<td valign="top" class="common-text">
																					<s:if test="#attr.optionsFees[9].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[9].auction" /></font> </s:if><s:text name="addSellAuctionItem.menu.specialicon.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.crosspromotion" />
																</td>
																<td valign="top">
																	<table width="100%" border="0" cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr class="common-bold-text">
																				<td valign="top" width="274">
																					<s:radio list="#{'0':'NONE'}" name="items.crossPromotion" value="%{items.crossPromotion}" />
																			 	</td>
																		  	</tr>
																			<tr>
																				<td width="274" valign="top" class="common-bold-text">
																					<s:radio list="#{'3':'3 Items'}" name="items.crossPromotion" value="%{items.crossPromotion}" />
																					<s:if test="#attr.optionsFees[17].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[17].auction" /></font></s:if>
																				</td>
																				<td rowspan="3" align="left" valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.crosspromotion.para" />
																				</td>
																			</tr>
																			<tr class="common-bold-text">
																				<td valign="top" width="273">
																					<s:radio list="#{'6':'6 Items'}" name="items.crossPromotion" value="%{items.crossPromotion}" />
																					<s:if test="#attr.optionsFees[18].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[18].auction" /></font></s:if>
																			  </td>
																		  </tr>
																			<tr class="common-bold-text">
																				<td valign="top" width="273">
																					<s:radio list="#{'9':'9 Items'}" name="items.crossPromotion" value="%{items.crossPromotion}" />
																				<s:if test="#attr.optionsFees[19].auction != 0"><font color="red"><s:property value="#attr.generalOptions.currency.currency" /> <s:property value="#attr.optionsFees[19].auction" /></font></s:if>
																			  </td>
																		  </tr>

																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.paymentmethods" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:select list="#attr.paymentGateways" listKey="id" listValue="accountName" name="items.paymentMethods" size="4"
																						 multiple="true" value="%{items.paymentMethods}" cssClass="textfield" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.paymentmethods.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top"><s:text name="addSellAuctionItem.menu.additionalpaymentinstructions" /></td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="278">
																					<s:textarea id="paymentDetails" cssClass="textfield" name="items.paymentDetails" rows="3"
																						cols="50" theme="simple" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.willshipto" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="278">
																					<s:select list="shipToList" listKey="id" listValue="name" name="items.shipTo" size="5" multiple="true"
																						cssClass="textfield" value="%{items.shipTo}" />
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">Additional shipping instructions: </td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="278">
																					<s:textarea id="shipToDetails" cssClass="textfield" name="items.shipToDetails" rows="3"
																						cols="50" theme="simple" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>

															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.shippingtime" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:select list="shippingTimeList" listKey="id" listValue="name" name="items.shipTime.id" size="1"
																						cssClass="textfield" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.shippingtime.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.shippingcost" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textfield cssClass="textfield" name="items.shipSum" theme="simple" />
																					<font color="green" size="2"> *</font>																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.shippingcost.para" />
																				</td>
																			</tr>
																			<tr>
																				<td valign="top" width="278">
																					<s:select list="shippingCostChargesList" listKey="id" listValue="name" name="ShipTo" size="1"
																						cssClass="textfield" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.shippingcost.para1" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top"></td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textarea id="shipPaymentDetails" cssClass="textfield" name="items.shipPaymentDetails"
																						rows="3" cols="50" theme="simple" />
																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.shippingcost.para2" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.shippinginsurance" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:select list="shippingInsuranceList" listKey="id" listValue="name" name="items.shipInsurance" size="1"
																						cssClass="textfield" />
																				</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.shippinginsurance.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.insurancevalue" />
																</td>
																<td valign="top">
																	<table cellpadding="2" cellspacing="0" width="100%">

																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textfield cssClass="textfield" name="items.insurance" theme="simple" />																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.insurancevalue.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.salestax" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<table border="0" cellpadding="0" cellspacing="0"
																						width="250">
																						<tbody>
																							<tr>
																								<td valign="top">
																									<s:textfield cssClass="textfield" name="items.salesTax"
																										theme="simple" />
																									%
																								</td>
																								<td align="right" valign="top">
																									<input class="cb" name="ShipTax" value="1"
																										type="checkbox">
																								</td>
																							</tr>
																						</tbody>
																					</table>
																			  	</td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.salestax.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.returnperiod" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="270">
																					<s:select list="returnPeriodList" listKey="id" listValue="name" name="items.returnPeriod.id" size="1"
																						cssClass="textfield" />
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">
																	<s:text name="addSellAuctionItem.menu.refundmethod" />
																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="270">
																					<s:select list="refundMethodList" listKey="id" listValue="name" name="items.returnMethod.id" size="1"
																						cssClass="textfield" />
																				</td>
																			</tr>
																		</tbody>
																	</table>
																</td>
															</tr>
															<tr>
																<td class="common-bold-text" align="right" valign="top">																</td>
																<td valign="top">
																	<table cellpadding="4" cellspacing="0">
																		<tbody>
																			<tr>
																				<td valign="top" width="274">
																					<s:textarea id="returnDetails" cssClass="textfield" name="items.returnDetails" rows="3"
																						cols="50" theme="simple" />																			  </td>
																				<td valign="top" class="common-text">
																					<s:text name="addSellAuctionItem.menu.policy.para" />
																				</td>
																			</tr>
																		</tbody>
																  </table>
																</td>
															</tr>
														</tbody>
												  	</table>
													<table cellpadding="0" cellspacing="0">
														<tbody>
															<tr>
																<td valign="top" colspan="2" class="common-text">
																	<p align="justify">
																		<b><s:text name="addSellAuctionItem.menu.desclaimer" /></b>
																		<br>
																		<s:text name="addSellAuctionItem.menu.desclaimer.para">
																			<s:param name="value" value="#attr.configuration.siteName"></s:param>
																			<s:param name="value" value="#attr.configuration.siteName"></s:param>
																			<s:param name="value" value="#attr.configuration.siteName"></s:param>
																			<s:param name="value" value="#attr.configuration.siteName"></s:param>
																		</s:text>
																	</p>
															  </td>
															</tr>
															<tr>
									                          <td align="right"><div style="margin:0px 8px 0px 0px">
									                              <table border="0" cellspacing="0" cellpadding="0">
												                  	<tr>
												                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
												                      	<td class="btn-grey-middle1 "><s:submit name="Submit" action="previewAuctions" value="Submit" cssClass="submit-btn-common" /></td>
												                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
												                    </tr>
												                  </table>
									                            </div></td>
									                          <td><table border="0" cellspacing="0" cellpadding="0">
												                  	<tr>
												                    	<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
												                      	<td class="btn-grey-middle1 "><input type="reset" name="Reset" value="Reset" class="submit-btn-common" /></td>
												                      <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
												                    </tr>
												                  </table>
									                          </td>
									                        </tr>
														</tbody>
												  </table>
												</td>
											</tr>
										</tbody>
									</table>
								</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<s:hidden name="type" value="1" />
		</s:form>
	</body>
</html>